const { Sequelize } = require("sequelize");
//127.0.0.1 6037   root:cobot   corus:bH9hG7R4
// module.exports =   new Sequelize('ultown', 'root', 'cobot', {
//     host: 'localhost',
//     port:'6037', 
//     dialect:'mysql', /* 选择 'mysql' | 'mariadb' | 'postgres' | 'mssql' 其一 */
//     timezone: '+8:00',
//     dialectOptions: {
//       useUTC: false
//     }
// });
module.exports = new Sequelize("ownassess", "root", "bH9hG7R4", {
  host: "localhost",
  port:'6036',
  dialect: "mysql" /* 选择 'mysql' | 'mariadb' | 'postgres' | 'mssql' 其一 */,
  timezone: "+8:00",
  dialectOptions: {
    useUTC: false,
  },
  pool: {
    max: 20,
    min: 5,
  },
  logging:false
});
